package com.seed.fileud;

import com.seed.fileud.enumeration.FileudType;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties(prefix = "seed.fileud")
public class FileudProperties {
    private FileudType type = FileudType.local;
    private Map<String, Object> config;

    public FileudType getType() {
        return type;
    }

    public void setType(FileudType type) {
        this.type = type;
    }

    public Map<String, Object> getConfig() {
        return config;
    }

    public void setConfig(Map<String, Object> config) {
        this.config = config;
    }
}
